package com.icesoft.system.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@Accessors(chain = true)
public class BindEmailDTO {

	@NotNull(message = "未找到账号")
	private Long userId;
	@NotNull(message = "验证码不能为空")
	private String code;
	@NotNull(message = "邮箱号不能为空")
	private String email;

}
